import Vue from "vue";
import Router from "vue-router";
import Home from "@/components/Home";
import Member from "@/components/Member";
import Search from "@/components/Search";
import Shopcar from "@/components/Shopcar";

Vue.use(Router);

export default new Router({
  linkActiveClass: "mui-active",
  routes: [
    {
      path: "/",
      component: Home
    },
    {
      path: "/home",
      component: Home
    },
    {
      path: "/member",
      component: Member
    },
    {
      path: "/search",
      component: Search
    },
    {
      path: "/shopcar",
      component: Shopcar
    }
  ]
});
